package name.sakanacatcher.repository;

import name.sakanacatcher.entity.PositionOption;
import name.sakanacatcher.entity.PositionOptionType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PositionOptionRepository extends JpaRepository<PositionOption,Integer> {
    PositionOption getPositionOptionByTypeNameAndAndPosName(String type, String position);
    List<PositionOption> getPositionOptionByTypeName(String type);
}
